cmake_minimum_required(VERSION 3.0)
project(socket)

add_executable(server_TCP src/TCP/server.cc)
add_executable(client_TCP src/TCP/client.cc)

add_executable(server_UDP src/UDP/server.cc)
add_executable(client_UDP src/UDP/client.cc)

add_executable(fork src/Concurrency/fork.cc)
add_executable(vfork src/Concurrency/vfork.cc)

add_executable(server_process src/Concurrency/server_process.cc)
add_executable(client_Concurrency src/Concurrency/client.cc)
add_executable(server_thread src/Concurrency/server_thread.cc)
target_link_libraries(server_thread pthread)
add_executable(Security src/Concurrency/Security.cc)
target_link_libraries(Security pthread)
